package com.etone.smartAudit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etone.smartAudit.domain.ServerPath;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: sovy
 * @date: 2020/12/3
 * @description:
 */

@Mapper
public interface ServerPathMapper extends BaseMapper<ServerPath> {
    /**
     * 查询服务器路径id
     *
     * @param serverId
     * @param path
     * @return
     */
    Integer findId(@Param("serverId") Integer serverId, @Param("path") String path);
}